package com.iengoo.edu;

/**
 * @author zpym
 * @CopyRight (C) http://www.iengoo.com
 * @brief
 * @email 122162005@qq.com
 * @date 2019-01-22 09:59
 */
public class Cat {
    public void eat(Food food) {
        System.out.println("我吃的是" + food.getType() + ",他的名字叫" + food.getName());
    }
}
